package com.iwhalecloud.citybrain.flow.platform.manager.application.common.threadlocal;

/**
 * @author lilh
 * @date 2021/3/31 15:19
 */
public class SdkCallTag {
    private static final ThreadLocal<Boolean> local = ThreadLocal.withInitial(() -> false);

    public static void setTag(Boolean tag) {
        local.set(tag);
    }

    public static Boolean getTag() {
        return local.get();
    }

    public static void remove() {
        local.remove();
    }
}
